home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
linklist
/
source.lha
/
doc
/
lGetIndxNode.3
< prev
next >
Wrap
Text File
|
1993-08-08
|
835b
|
36 lines
'.so tmac.clman
.TH "lGetIndxNode"
.IX lGetIndxNode
.SH NAME
lGetIndxNode - Get node by index.
.SH SYNOPSIS
int
.BR "lGetIndxNode" "(id, index, data, size)"
.br
.RT
.RP
In int id identifier of linked list
.RP
In int index index of node which must be retrieved
.RP
Out Byte *data data of node
.RP
In int size size of data
.DT
.SH DESCRIPTION
\fBlGetIndxNode\fP gets the data of an indexed node of a linked list. Which
node must be retrieved can be specified by \fIindex\fP (\(>= 1).
.br
When the retrieved node is the first or the last node, the return code
will have the value lFIRST or lLAST. For the other nodes the routine returns
lSUCCESS.
.SH RETURN CODES
.nf
Return on success :
lSUCCESS, lFIRST, lLAST
Return on error :
lUNKNOWN_ID, lEMPTY_LIST, lWRONG_INDEX, lSIZE_NE
.fi
.SH AUTHOR
Anita Eijs (TNO - Bouw - BouwInformatica)